home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Library / +ORC / Orc pac 2 / FILEZ.ZIP / PERISCOP.ZIP / PS.DEF < prev    next >
Encoding:
Text File  |  1993-06-18  |  3.8 KB  |  88 lines

  1. \c1=dr cs:0 .psp;
  2. \c2=dr cs:5c .fcb;
  3. \FCB        ; File Control Block
  4. Drive,b,1    ; Drive 0=default, 1=A, 2=B, etc.
  5. File,b,8    ; File name
  6. Ext,b,3     ; File extension
  7. Block,w,2    ; Current block number
  8. Rec Size,w,2    ; Logical record size
  9. File Size,d,4    ; File size
  10. Date,w,2    ; Date of last update
  11. Res.,+,a    ; Reserved for DOS - don't display
  12. Rec,b,1        ; Current relative record number
  13. Rel Rec,d,4    ; Relative record number from beginning of file
  14. \PSP        ; Program Segment Prefix
  15. Int 20,b,2    ; DOS return
  16. Topmem,w,2    ; Amount of memory in paragraphs
  17. Res.,+,1    ; Reserved for DOS
  18. Long Call,b,1    ; Long call to DOS function dispatcher
  19. DOS Func,d,4    ; CS:IP of DOS function dispatcher
  20. Term Addr,d,4    ; CS:IP of DOS terminate address
  21. Brk Addr,d,4    ; CS:IP of Ctrl-Break exit address
  22. Err Addr,d,4    ; CS:IP of critical error exit address
  23. Caller,w,2    ; PSP of caller
  24. File Tbl,b,14    ; File table
  25. Environ,w,2    ; DOS 2.00 Environment segment
  26. Last Stack,d,4    ; SS:SP after last DOS call
  27. Files,w,2    ; File table size
  28. File Ptr,d,4    ; File table pointer
  29. Res.,+,8    ; Reserved for DOS
  30. DOS Ver,b,2    ; DOS version after Setver
  31. Res.,+,1a     ; Reserved for DOS
  32. FCB1,b,10    ; The first FCB read from the command line
  33. FCB2,b,14    ; The second FCB read from the command line
  34. \PSDATA     ; Periscope's data area
  35. ID,b,9        ; Windows signature
  36. PS type,b,1    ; PS Model 0=Model I, 1=Model II, 2=Model II-X
  37. PS ver,w,2    ; Periscope's version number
  38. Port,w,2    ; Base port number
  39. Segment,w,2    ; Starting addr of protected memory
  40. User pg,b,1    ; First available page in paged memory
  41. User int,b,1    ; User interrupt number
  42. Page,b,1    ; Current page in bank 3 of paged memory
  43. Max pg,b,1    ; Maximum 8k page number
  44. Code,b,4    ; Interface code
  45. EMS,w,2        ; EMM handle for rm386, memory port for 386Max
  46. UMB,w,2        ; UMB segment for rm386
  47. EM type,b,1    ; 1 if 386max, 2 if rm386
  48. Op sys,b,1    ; 0=dos, 1=os/2 1.x, 2=os/2 2.x, 3=win 3, 4=pm, 80h=dpmi
  49. Orig ints,d,28    ; User interrupts 8, 9, 10, 15, 16, 17, 1c, 1b, 23, & 24
  50. Pointers,b,a    ; Offsets of vectors 8-24 relative to 0:0
  51. Vskip,b,a    ; If 1, don't change corresponding vector
  52. BIOS ints,d,28    ; Bios interrupts 8, 9, 10, 15, 16, 17, 1c, 1b, 23, & 24
  53. Orig ints,d,10     ; Original interrupts 13, 19, 25, & 26
  54. CRT data,b,1e    ; Original video data (0:449 to 0:466)
  55. EGA data,b,14    ; Orignial EGA data (0:484 - 0:486) and pallette (last 11h)
  56. EGA,b,1     ; 1 if EGA present, 0 otherwise
  57. Alt key,b,1    ; Alt key input (0:419)
  58. Key data,w,24    ; Original keyboard buffer head and tail and data (last 20h)
  59. PSP,w,2        ; Last known PSP segment
  60. Trace,w,2    ; Trace count - 0 if not tracing
  61. Int seg,w,2    ; Save interrupt segment
  62. Key seg,w,2    ; Segment of keyboard def table
  63. Edit segs,w,4    ; Segments for keyboard edit buffers
  64. Temp s/l,w,4    ; Segment and length of temp use buffer
  65. PS s/l/a,w,6    ; Segment, length, and address of debug screen save area
  66. Scr s/l/a,w,6    ; Segment, length, and address of user screen save area
  67. Rec s/l,w,4    ; Segment and length of record def table
  68. Back s/l,w,4    ; Segment and length of traceback buffer
  69. Src s/l,w,4    ; Segment and length of source buffer
  70. Help s/l,w,4    ; Segment and length of help text
  71. Comm s/l,w,4    ; Segment and length of interrupt comment text
  72. Work s/l,w,4    ; Segment and length of Periscope work area
  73. Work s/l,w,4    ; Segment and length of Periscope work area 2
  74. Sym s/l,w,4    ; Segment and length of symbol table
  75. Back ptr,w,4    ; Traceback pointers
  76. Edit ptr,w,2    ; Edit buffer pointer
  77. D seg/o/l,w,6    ; Display segment, offset, and length
  78. Topmem,w,2    ; Top of memory (pgh form)
  79. Src info,w,4    ; Source file handle & prefix
  80. Brk enable,w,2    ; Breakpoint enable/disable bits
  81. Misc,b,2    ; Miscellaneous
  82. Alt crt,b,1    ; 0 if 1 CRT, 1 if 2 CRTs, 2 if 1 CRT with no save, 3 if alt crt
  83. Color,b,1    ; Color attribute
  84. Snow,b,1    ; 1 if /F option used, 0 otherwise
  85. Button,b,1    ; Status of the button
  86. PortB,b,1    ; Original value of Port B
  87. CPU,b,1     ; 0 if 8088, 1 if 80286, 2 if 80386, 3 if 80486
  88.